package com.supermap.dataservice.grid.griddata.entity;

import java.io.Serializable;

/**
 * @author xiaolu
 * @date 2018/9/5 上午11:12
 */
public class GridData implements Serializable {
    private static final long serialVersionUID = 1L;
    private float left;
    private float right;
    private float top;
    private float bottom;
    private float dx;
    private float dy;
    private int width;
    private int height;
    private float[] values;

    public GridData() {
    }

    public GridData(float left, float right, float top, float bottom, float dx, float dy, int width, int height, float[] values) {
        this.left = left;
        this.right = right;
        this.top = top;
        this.bottom = bottom;
        this.dx = dx;
        this.dy = dy;
        this.width = width;
        this.height = height;
        this.values = values;
    }

    public float getLeft() {
        return this.left;
    }

    public void setLeft(float left) {
        this.left = left;
    }

    public float getRight() {
        return this.right;
    }

    public void setRight(float right) {
        this.right = right;
    }

    public float getTop() {
        return this.top;
    }

    public void setTop(float top) {
        this.top = top;
    }

    public float getBottom() {
        return this.bottom;
    }

    public void setBottom(float bottom) {
        this.bottom = bottom;
    }

    public float getDx() {
        return this.dx;
    }

    public void setDx(float dx) {
        this.dx = dx;
    }

    public float getDy() {
        return this.dy;
    }

    public void setDy(float dy) {
        this.dy = dy;
    }

    public float[] getValues() {
        return this.values;
    }

    public void setValues(float[] values) {
        this.values = values;
    }

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }
}

